package com.otitan.forest.right.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.otitan.webapp.framework.basepro.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户角色关联
 *
 * @author xiazw
 * @email *****@mail.com
 * @date 2020-08-04 14:19:43
 */
@Data
@TableName("SYS_USER_ROLE_RELATION")
@ApiModel("用户角色关联实体")
@AllArgsConstructor
@NoArgsConstructor
public class SysUserRoleRelationEntity extends PageReq implements Serializable {

    /**
     * 用户ID
     */
    @ApiModelProperty("用户ID")
    @TableId("USER_ID")
    private String userId;

    /**
     * 角色
     */
    @ApiModelProperty("角色")
    @TableField("ROLE_ID")
    private String roleId;


}
